package io.yuncheng.modules.sys.service.impl;

import io.yuncheng.modules.sys.dao.SysApplicationDao;
import io.yuncheng.modules.sys.entity.SysApplicationEntity;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.yuncheng.common.utils.PageUtils;
import io.yuncheng.common.utils.Query;

import io.yuncheng.modules.sys.service.SysApplicationService;


@Service("sysApplicationService")
public class SysApplicationServiceImpl extends ServiceImpl<SysApplicationDao, SysApplicationEntity> implements SysApplicationService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<SysApplicationEntity> page = this.page(
                new Query<SysApplicationEntity>().getPage(params),
                new QueryWrapper<SysApplicationEntity>()
        );

        return new PageUtils(page);
    }

}
